<template>
  <div>
    <ArticleItem v-for="obj in arr" :key="obj.art_id" :item="obj" @removeE="reE" />
  </div>
</template>

<script>
import ArticleItem from '@/components/ArticleItem'
export default {
  data () {
    return {
      list: []
    }
  },
  props: {
    arr: {
      type: Array,
      default () {
        // 默认数组
        return []
      }
    }
  },
  components: {
    ArticleItem
  },
  methods: {
    reE (item, action) {
      this.$emit('removeE', item, action)
    }
  }
}
</script>

<style>
</style>
